import $config from "../../config";

const configDict = {
	development: {
		baseURL: "/bigData",
		serverURl: $config.baseURL,
	},
	production: {
		baseURL: "http://172.20.21.112:4000",
		serverURl: "http://172.20.21.112:4000",
	},
};

const currrentConfigKey = process.env.NODE_ENV;
const isDev = process.env.NODE_ENV === "development";

const configObj = {
	isDevelop: isDev,
	...configDict[currrentConfigKey],
	leftPanelWidth: 332,
	screenPixelWidth: 1920,
	screenPixelHeight: 1080,
	editorWrapPanelWidth: 2320,
	editorWrapPanelHeight: 1480,
	thumbnailWidth: 190,
	thumbnailHeight: 110,
};
// console.log(configObj)
export default configObj;
